Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve 2023 day 03 #34

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Solve 2023 day 03 #34

wants to merge 14 commits into from

Conversation

katzuv
Copy link
Owner

@katzuv katzuv commented Dec 9, 2023

  • Create solution file for part 1
  • Create module for the SchematicParser class
  • Create SchematicParser class
  • Add constructor to SchematicParser class
  • Add method that checks whether character is adjacent to other characters
  • Add method that adds the given number to the numbers list
  • Add method that finds all the parts numbers
  • Add function that returns sum of part numbers in the engine schematic
  • Create solution file for part 2
  • Add gears positions list to SchematicParser constructor
  • Add methods that populates the _gears_positions list
  • Add methods that returns whether given position and digits are adjacent
  • Add methods that returns gear ratios sum
  • Add function that returns sum of all gear ratios in the engine schematic

@katzuv katzuv added the solution Puzzle solution label Dec 9, 2023
@katzuv katzuv changed the title Solve 2023 day 3 Solve 2023 day 03 Dec 9, 2023
@katzuv katzuv self-assigned this Dec 9, 2023
@katzuv katzuv requested a review from YoniKF December 9, 2023 23:37
@YoniKF YoniKF removed their request for review February 25, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution Puzzle solution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant